.class public Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;
.implements Landroid/view/View$OnClickListener;
.implements Lcom/baidu/mapapi/map/BaiduMap$OnMarkerClickListener;


# instance fields
.field private A:Lcom/baidu/mapapi/map/Marker;

.field private B:I

.field private C:Landroid/view/animation/TranslateAnimation;

.field private D:Landroid/view/animation/TranslateAnimation;

.field private E:Ljava/util/HashMap;

.field private F:Ljava/util/List;

.field private G:Lcom/baidu/mapapi/map/BitmapDescriptor;

.field private H:Lcom/baidu/mapapi/map/BitmapDescriptor;

.field private final I:I

.field private final J:I

.field private final K:I

.field private L:Lcom/waiqin365/lightapp/visit/bm;

.field private M:Lcom/waiqin365/compons/c/g;

.field private N:I

.field private O:Lcom/baidu/mapapi/model/LatLngBounds$Builder;

.field private P:Z

.field private Q:Landroid/widget/RelativeLayout;

.field private R:Ljava/lang/String;

.field private S:Z

.field public a:Lcom/waiqin365/compons/c/f;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/support/v4/view/ViewPager;

.field private h:Lcom/waiqin365/lightapp/kehu/b/at;

.field private i:Lcom/baidu/mapapi/map/MapView;

.field private j:Lcom/baidu/mapapi/map/BaiduMap;

.field private k:Landroid/widget/Button;

.field private l:Landroid/widget/ImageButton;

.field private m:Landroid/widget/ImageButton;

.field private n:Landroid/widget/RelativeLayout;

.field private o:Landroid/widget/RelativeLayout;

.field private p:Landroid/widget/LinearLayout;

.field private q:Landroid/widget/LinearLayout;

.field private r:Landroid/widget/TextView;

.field private s:Landroid/widget/TextView;

.field private t:Landroid/widget/TextView;

.field private u:Landroid/widget/RelativeLayout;

.field private v:Landroid/widget/RelativeLayout;

.field private w:Ljava/util/ArrayList;

.field private x:Ljava/util/ArrayList;

.field private y:Lcom/waiqin365/lightapp/kehu/b/am;

.field private z:Lcom/baidu/mapapi/map/Marker;


# direct methods
.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x1

    const/4 v1, 0x0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    const v0, 0x7f020090

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->G:Lcom/baidu/mapapi/map/BitmapDescriptor;

    const v0, 0x7f020091

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->H:Lcom/baidu/mapapi/map/BitmapDescriptor;

    iput v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->I:I

    iput v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->J:I

    const/4 v0, 0x2

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->K:I

    iput v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->N:I

    iput-boolean v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->P:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Landroid/support/v4/view/ViewPager;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method private a()V
    .locals 3

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "select"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    if-nez v0, :cond_0

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "all"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    if-nez v0, :cond_1

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    :cond_1
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "currentPage"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "jsonHashMap"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->E:Ljava/util/HashMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->E:Ljava/util/HashMap;

    if-nez v0, :cond_2

    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->E:Ljava/util/HashMap;

    :cond_2
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "draw_line_between_points"

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->S:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "isNear"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v0

    iput-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->P:Z

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "title"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->R:Ljava/lang/String;

    return-void
.end method

.method private b()V
    .locals 13

    const/16 v12, 0xc

    const/16 v11, 0x8

    const-wide/16 v6, 0xbb8

    const/4 v10, 0x1

    const/4 v3, 0x0

    new-instance v0, Lcom/baidu/mapapi/model/LatLngBounds$Builder;

    invoke-direct {v0}, Lcom/baidu/mapapi/model/LatLngBounds$Builder;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->O:Lcom/baidu/mapapi/model/LatLngBounds$Builder;

    const v0, 0x7f0c01da

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c020b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/MapView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0, v3}, Lcom/baidu/mapapi/map/MapView;->showZoomControls(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->getMap()Lcom/baidu/mapapi/map/BaiduMap;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v10}, Lcom/baidu/mapapi/map/BaiduMap;->setMapType(I)V

    const/high16 v0, 0x41980000    # 19.0f

    invoke-static {v0}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomTo(F)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->setMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getUiSettings()Lcom/baidu/mapapi/map/UiSettings;

    move-result-object v0

    invoke-virtual {v0, v10}, Lcom/baidu/mapapi/map/UiSettings;->setZoomGesturesEnabled(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v10}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationEnabled(Z)V

    const v0, 0x7f0200b7

    invoke-static {v0}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromResource(I)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    new-instance v2, Lcom/baidu/mapapi/map/MyLocationConfiguration;

    sget-object v4, Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;->NORMAL:Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;

    invoke-direct {v2, v4, v10, v0}, Lcom/baidu/mapapi/map/MyLocationConfiguration;-><init>(Lcom/baidu/mapapi/map/MyLocationConfiguration$LocationMode;ZLcom/baidu/mapapi/map/BitmapDescriptor;)V

    invoke-virtual {v1, v2}, Lcom/baidu/mapapi/map/BaiduMap;->setMyLocationConfigeration(Lcom/baidu/mapapi/map/MyLocationConfiguration;)V

    const v0, 0x7f0c0210

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->k:Landroid/widget/Button;

    const v0, 0x7f0c0212

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->l:Landroid/widget/ImageButton;

    const v0, 0x7f0c0213

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageButton;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->m:Landroid/widget/ImageButton;

    const v0, 0x7f0c0309

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->c:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->c:Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    const v0, 0x7f0c0296

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->Q:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0305

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->Q:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, v11}, Landroid/widget/RelativeLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->R:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->b:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->R:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    const v0, 0x7f0c029b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->d:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->d:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0299

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->e:Landroid/widget/TextView;

    const-string/jumbo v0, "3"

    const-string/jumbo v0, "nearby_max"

    invoke-static {p0, v0, v6, v7}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v0

    const-wide/16 v4, 0x3e8

    rem-long/2addr v0, v4

    const-wide/16 v4, 0x0

    cmp-long v0, v0, v4

    if-nez v0, :cond_2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "nearby_max"

    invoke-static {p0, v1, v6, v7}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v4

    const-wide/16 v6, 0x3e8

    div-long/2addr v4, v6

    invoke-virtual {v0, v4, v5}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c0227

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->f:Landroid/widget/TextView;

    const v0, 0x7f0c02a0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->q:Landroid/widget/LinearLayout;

    const v0, 0x7f0c02a1

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v4/view/ViewPager;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    const/4 v1, 0x3

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setOffscreenPageLimit(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    const/high16 v1, 0x40a00000    # 5.0f

    invoke-static {p0, v1}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setPageMargin(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->q:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/waiqin365/lightapp/visit/bi;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/bi;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/at;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->E:Ljava/util/HashMap;

    new-instance v4, Lcom/waiqin365/lightapp/visit/bj;

    invoke-direct {v4, p0}, Lcom/waiqin365/lightapp/visit/bj;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V

    invoke-direct {v0, p0, v1, v2, v4}, Lcom/waiqin365/lightapp/kehu/b/at;-><init>(Landroid/content/Context;Ljava/util/ArrayList;Ljava/util/HashMap;Lcom/waiqin365/lightapp/kehu/b/aw;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->h:Lcom/waiqin365/lightapp/kehu/b/at;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->h:Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/kehu/b/at;->a(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->h:Lcom/waiqin365/lightapp/kehu/b/at;

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    move v2, v3

    :goto_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v2, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v3

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v4, ","

    invoke-virtual {v0, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v10

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    sget v6, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v0, v1, v6}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    new-instance v1, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v1}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    new-instance v4, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v6, v0, v3

    aget-wide v8, v0, v10

    invoke-direct {v4, v6, v7, v8, v9}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-virtual {v1, v4}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v1

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->G:Lcom/baidu/mapapi/map/BitmapDescriptor;

    invoke-virtual {v1, v4}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v1

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->O:Lcom/baidu/mapapi/model/LatLngBounds$Builder;

    new-instance v5, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v6, v0, v3

    aget-wide v8, v0, v10

    invoke-direct {v5, v6, v7, v8, v9}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-virtual {v4, v5}, Lcom/baidu/mapapi/model/LatLngBounds$Builder;->include(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/model/LatLngBounds$Builder;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    new-instance v4, Landroid/os/Bundle;

    invoke-direct {v4}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v5, "CMCustomerInfo"

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->x:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/io/Serializable;

    invoke-virtual {v4, v5, v1}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    const-string/jumbo v1, "type"

    invoke-virtual {v4, v1, v3}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    invoke-virtual {v0, v4}, Lcom/baidu/mapapi/map/Marker;->setExtraInfo(Landroid/os/Bundle;)V

    :cond_0
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_2

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f0801d9

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    :cond_2
    sget-object v0, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    const-string/jumbo v1, "%.1f"

    new-array v2, v10, [Ljava/lang/Object;

    const-string/jumbo v4, "nearby_max"

    invoke-static {p0, v4, v6, v7}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v4

    long-to-double v4, v4

    const-wide v6, 0x408f400000000000L    # 1000.0

    div-double/2addr v4, v6

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v0, v1, v2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1

    :cond_3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->F:Ljava/util/List;

    move v1, v3

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    if-eqz v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v3

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v4, ","

    invoke-virtual {v0, v4}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v10

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v2}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v6

    sget v0, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v6, v7, v0}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v2

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v4, 0x7f030296

    const/4 v5, 0x0

    invoke-virtual {v0, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    const v0, 0x7f0c0ca0

    invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    add-int/lit8 v5, v1, 0x1

    invoke-static {v5}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v4}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromView(Landroid/view/View;)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    new-instance v4, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    new-instance v5, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v6, v2, v3

    aget-wide v8, v2, v10

    invoke-direct {v5, v6, v7, v8, v9}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-virtual {v4, v5}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->F:Ljava/util/List;

    invoke-interface {v4, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v2, Landroid/os/Bundle;

    invoke-direct {v2}, Landroid/os/Bundle;-><init>()V

    const-string/jumbo v4, "type"

    invoke-virtual {v2, v4, v10}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    const-string/jumbo v4, "index"

    invoke-virtual {v2, v4, v1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/Marker;->setExtraInfo(Landroid/os/Bundle;)V

    :cond_4
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto/16 :goto_3

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    if-le v0, v1, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v3

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    iget v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v10

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v4

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    sget v2, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v0, v1, v2}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v1

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v2, 0x7f030296

    const/4 v4, 0x0

    invoke-virtual {v0, v2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f0c0ca0

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->B:I

    add-int/lit8 v4, v4, 0x1

    invoke-static {v4}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v4, 0x7f02040e

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setBackgroundResource(I)V

    invoke-static {v2}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromView(Landroid/view/View;)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    new-instance v2, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v2}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    new-instance v4, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v6, v1, v3

    aget-wide v8, v1, v10

    invoke-direct {v4, v6, v7, v8, v9}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-virtual {v2, v4}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v1

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    :cond_6
    const v0, 0x7f0c029f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->n:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c0211

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->o:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c02a2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->p:Landroid/widget/LinearLayout;

    const v0, 0x7f0c01ef

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->r:Landroid/widget/TextView;

    const v0, 0x7f0c01f0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->s:Landroid/widget/TextView;

    const v0, 0x7f0c01f2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->t:Landroid/widget/TextView;

    const v0, 0x7f0c01f3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->u:Landroid/widget/RelativeLayout;

    const v0, 0x7f0c01f5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->v:Landroid/widget/RelativeLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v11}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->k:Landroid/widget/Button;

    invoke-virtual {v0}, Landroid/widget/Button;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {v0, v12}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->o:Landroid/widget/RelativeLayout;

    invoke-virtual {v0}, Landroid/widget/RelativeLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {v0, v12}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    :cond_7
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->c()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->h()V

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Lcom/baidu/mapapi/model/LatLngBounds$Builder;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->O:Lcom/baidu/mapapi/model/LatLngBounds$Builder;

    return-object v0
.end method

.method private c()V
    .locals 10

    const/4 v9, 0x0

    const/4 v8, 0x1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->S:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    if-eqz v4, :cond_0

    iget-object v4, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v5, ","

    invoke-virtual {v4, v5}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v4

    if-eqz v4, :cond_0

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const/16 v4, 0x2c

    invoke-static {v0, v4, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v3, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v4

    invoke-virtual {v3, v9}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v6

    invoke-static {v4, v5, v6, v7}, Lcom/waiqin365/compons/c/m;->a(DD)[D

    move-result-object v0

    new-instance v3, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v0, v9

    aget-wide v6, v0, v8

    invoke-direct {v3, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_1
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-le v0, v8, :cond_2

    new-instance v0, Lcom/baidu/mapapi/map/PolylineOptions;

    invoke-direct {v0}, Lcom/baidu/mapapi/map/PolylineOptions;-><init>()V

    const/16 v2, 0xa

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/PolylineOptions;->width(I)Lcom/baidu/mapapi/map/PolylineOptions;

    move-result-object v0

    const-string/jumbo v2, "#FF9008"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v0, v2}, Lcom/baidu/mapapi/map/PolylineOptions;->color(I)Lcom/baidu/mapapi/map/PolylineOptions;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/PolylineOptions;->points(Ljava/util/List;)Lcom/baidu/mapapi/map/PolylineOptions;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    :cond_2
    return-void
.end method

.method private d()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->O:Lcom/baidu/mapapi/model/LatLngBounds$Builder;

    invoke-virtual {v0}, Lcom/baidu/mapapi/model/LatLngBounds$Builder;->build()Lcom/baidu/mapapi/model/LatLngBounds;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v1}, Lcom/baidu/mapapi/map/MapView;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v2}, Lcom/baidu/mapapi/map/MapView;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    invoke-static {v0, v1, v2}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLngBounds(Lcom/baidu/mapapi/model/LatLngBounds;II)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->setMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->d()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Lcom/baidu/mapapi/map/BaiduMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    return-object v0
.end method

.method private e()V
    .locals 9

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x1

    const/4 v6, 0x0

    const/4 v7, 0x1

    const v8, 0x3e6b851f    # 0.23f

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->C:Landroid/view/animation/TranslateAnimation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->C:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    new-instance v0, Landroid/view/animation/TranslateAnimation;

    const/4 v1, 0x1

    const/4 v2, 0x0

    const/4 v3, 0x1

    const/4 v4, 0x0

    const/4 v5, 0x1

    const v6, 0x3e6b851f    # 0.23f

    const/4 v7, 0x1

    const/4 v8, 0x0

    invoke-direct/range {v0 .. v8}, Landroid/view/animation/TranslateAnimation;-><init>(IFIFIFIF)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->D:Landroid/view/animation/TranslateAnimation;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->D:Landroid/view/animation/TranslateAnimation;

    const-wide/16 v2, 0x1f4

    invoke-virtual {v0, v2, v3}, Landroid/view/animation/TranslateAnimation;->setDuration(J)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->f:Landroid/widget/TextView;

    return-object v0
.end method

.method private f()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0, p0}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->k:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0, p0}, Lcom/baidu/mapapi/map/BaiduMap;->setOnMarkerClickListener(Lcom/baidu/mapapi/map/BaiduMap$OnMarkerClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->u:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->v:Landroid/widget/RelativeLayout;

    invoke-virtual {v0, p0}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private g()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->f:Landroid/widget/TextView;

    const v1, 0x7f080517

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->L:Lcom/waiqin365/lightapp/visit/bm;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/visit/bm;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/visit/bm;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->L:Lcom/waiqin365/lightapp/visit/bm;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/compons/c/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->L:Lcom/waiqin365/lightapp/visit/bm;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/c/g;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->N:I

    rem-int/lit8 v0, v0, 0x2

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->c()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/g;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/g;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->e()V

    iget v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->N:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->N:I

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->a()V

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->P:Z

    return v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    return-object v0
.end method

.method private h()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->f()V

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Lcom/waiqin365/lightapp/kehu/b/at;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->h:Lcom/waiqin365/lightapp/kehu/b/at;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Landroid/view/animation/TranslateAnimation;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->D:Landroid/view/animation/TranslateAnimation;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Landroid/widget/RelativeLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->n:Landroid/widget/RelativeLayout;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->p:Landroid/widget/LinearLayout;

    return-object v0
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 9

    const/4 v8, 0x1

    const/4 v7, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :cond_0
    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->back()V

    goto :goto_0

    :sswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getMapStatus()Lcom/baidu/mapapi/map/MapStatus;

    move-result-object v0

    iget v0, v0, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1}, Lcom/baidu/mapapi/map/BaiduMap;->getMaxZoomLevel()F

    move-result v1

    cmpg-float v0, v0, v1

    if-gez v0, :cond_1

    invoke-static {}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomIn()Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0, v8}, Landroid/widget/ImageButton;->setEnabled(Z)V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0, v7}, Landroid/widget/ImageButton;->setEnabled(Z)V

    goto :goto_0

    :sswitch_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/BaiduMap;->getMapStatus()Lcom/baidu/mapapi/map/MapStatus;

    move-result-object v0

    iget v0, v0, Lcom/baidu/mapapi/map/MapStatus;->zoom:F

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1}, Lcom/baidu/mapapi/map/BaiduMap;->getMinZoomLevel()F

    move-result v1

    cmpl-float v0, v0, v1

    if-lez v0, :cond_2

    invoke-static {}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->zoomOut()Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->l:Landroid/widget/ImageButton;

    invoke-virtual {v0, v8}, Landroid/widget/ImageButton;->setEnabled(Z)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->m:Landroid/widget/ImageButton;

    invoke-virtual {v0, v7}, Landroid/widget/ImageButton;->setEnabled(Z)V

    goto :goto_0

    :sswitch_3
    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g()V

    goto :goto_0

    :sswitch_4
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-static {p0, v0, v7}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    goto :goto_0

    :sswitch_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->a:Lcom/waiqin365/compons/c/f;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v7

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v1, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v1

    aget-object v1, v1, v8

    invoke-static {v1}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->a:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v2}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v2

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->a:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v4}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v4

    sget v6, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v2, v3, v4, v5, v6}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v2

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v4

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    sget v3, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v0, v1, v3}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    new-instance v1, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v2, v7

    aget-wide v2, v2, v8

    invoke-direct {v1, v4, v5, v2, v3}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    new-instance v2, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v0, v7

    aget-wide v6, v0, v8

    invoke-direct {v2, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-static {v1, v2, p0}, Lcom/waiqin365/compons/c/m;->a(Lcom/baidu/mapapi/model/LatLng;Lcom/baidu/mapapi/model/LatLng;Landroid/content/Context;)V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c01da -> :sswitch_0
        0x7f0c01f3 -> :sswitch_4
        0x7f0c01f5 -> :sswitch_5
        0x7f0c0210 -> :sswitch_3
        0x7f0c0212 -> :sswitch_1
        0x7f0c0213 -> :sswitch_2
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03005b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->e()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->f()V

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->d(Landroid/content/Context;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->M:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->h()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->i:Lcom/baidu/mapapi/map/MapView;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/MapView;->onDestroy()V

    :cond_1
    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method public onMarkerClick(Lcom/baidu/mapapi/map/Marker;)Z
    .locals 7

    const/4 v2, 0x0

    invoke-virtual {p1}, Lcom/baidu/mapapi/map/Marker;->getExtraInfo()Landroid/os/Bundle;

    move-result-object v3

    if-eqz v3, :cond_8

    const-string/jumbo v0, "type"

    invoke-virtual {v3, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v1

    const-string/jumbo v0, "index"

    invoke-virtual {v3, v0}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    move v6, v0

    move v0, v1

    move v1, v6

    :goto_0
    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_1
    return v2

    :pswitch_0
    if-eqz v3, :cond_1

    const-string/jumbo v0, "CMCustomerInfo"

    invoke-virtual {v3, v0}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/Marker;->remove()V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->A:Lcom/baidu/mapapi/map/Marker;

    if-eqz v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->A:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/Marker;->remove()V

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->n:Landroid/widget/RelativeLayout;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->C:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->C:Landroid/view/animation/TranslateAnimation;

    new-instance v1, Lcom/waiqin365/lightapp/visit/bk;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/visit/bk;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V

    invoke-virtual {v0, v1}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->r:Landroid/widget/TextView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v1, v1, Lcom/waiqin365/lightapp/kehu/b/am;->d:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->s:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v3, 0x7f0802b5

    invoke-virtual {p0, v3}, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget v3, v3, Lcom/waiqin365/lightapp/kehu/b/am;->p:I

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, "m"

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/bm;

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->t:Landroid/widget/TextView;

    invoke-direct {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/bm;-><init>(Landroid/widget/TextView;)V

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/String;

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->y:Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v3, v3, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    aput-object v3, v1, v2

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/bm;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    :cond_4
    new-instance v0, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v0}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    invoke-virtual {p1}, Lcom/baidu/mapapi/map/Marker;->getPosition()Lcom/baidu/mapapi/model/LatLng;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->H:Lcom/baidu/mapapi/map/BitmapDescriptor;

    invoke-virtual {v0, v1}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->A:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {p1}, Lcom/baidu/mapapi/map/Marker;->getPosition()Lcom/baidu/mapapi/model/LatLng;

    move-result-object v0

    invoke-static {v0}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLng(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    goto/16 :goto_1

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    if-eqz v0, :cond_5

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/Marker;->remove()V

    :cond_5
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->A:Lcom/baidu/mapapi/map/Marker;

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->A:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/Marker;->remove()V

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0}, Landroid/support/v4/view/ViewPager;->getVisibility()I

    move-result v0

    const/16 v3, 0x8

    if-ne v0, v3, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->n:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->C:Landroid/view/animation/TranslateAnimation;

    invoke-virtual {v0, v3}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->C:Landroid/view/animation/TranslateAnimation;

    new-instance v3, Lcom/waiqin365/lightapp/visit/bl;

    invoke-direct {v3, p0}, Lcom/waiqin365/lightapp/visit/bl;-><init>(Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;)V

    invoke-virtual {v0, v3}, Landroid/view/animation/TranslateAnimation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V

    :cond_7
    invoke-virtual {p1}, Lcom/baidu/mapapi/map/Marker;->getPosition()Lcom/baidu/mapapi/model/LatLng;

    move-result-object v3

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v4, 0x7f030296

    const/4 v5, 0x0

    invoke-virtual {v0, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    const v0, 0x7f0c0ca0

    invoke-virtual {v4, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    add-int/lit8 v5, v1, 0x1

    invoke-static {v5}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v5, 0x7f02040e

    invoke-virtual {v0, v5}, Landroid/widget/TextView;->setBackgroundResource(I)V

    invoke-static {v4}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromView(Landroid/view/View;)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    new-instance v4, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v4}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    invoke-virtual {v4, v3}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v4

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v4, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->g:Landroid/support/v4/view/ViewPager;

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    invoke-static {v3}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLng(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    goto/16 :goto_1

    :cond_8
    move v1, v2

    move v0, v2

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method public onPageScrollStateChanged(I)V
    .locals 0

    return-void
.end method

.method public onPageScrolled(IFI)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->q:Landroid/widget/LinearLayout;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->q:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->invalidate()V

    :cond_0
    return-void
.end method

.method public onPageSelected(I)V
    .locals 7

    const/4 v6, 0x1

    const/4 v5, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    invoke-virtual {v0}, Lcom/baidu/mapapi/map/Marker;->remove()V

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    array-length v0, v0

    if-lez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v1, ","

    invoke-virtual {v0, v1}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v5

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->w:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/b/am;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/b/am;->i:Ljava/lang/String;

    const-string/jumbo v2, ","

    invoke-virtual {v0, v2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v0

    aget-object v0, v0, v6

    invoke-static {v0}, Ljava/lang/Double;->parseDouble(Ljava/lang/String;)D

    move-result-wide v2

    invoke-static {v2, v3}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v1}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v2

    invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v0

    sget v4, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v2, v3, v0, v1, v4}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    new-instance v1, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v2, v0, v5

    aget-wide v4, v0, v6

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v2, 0x7f030296

    const/4 v3, 0x0

    invoke-virtual {v0, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    const v0, 0x7f0c0ca0

    invoke-virtual {v2, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    add-int/lit8 v3, p1, 0x1

    invoke-static {v3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v3, 0x7f02040e

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setBackgroundResource(I)V

    invoke-static {v2}, Lcom/baidu/mapapi/map/BitmapDescriptorFactory;->fromView(Landroid/view/View;)Lcom/baidu/mapapi/map/BitmapDescriptor;

    move-result-object v0

    new-instance v2, Lcom/baidu/mapapi/map/MarkerOptions;

    invoke-direct {v2}, Lcom/baidu/mapapi/map/MarkerOptions;-><init>()V

    invoke-virtual {v2, v1}, Lcom/baidu/mapapi/map/MarkerOptions;->position(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v2

    invoke-virtual {v2, v0}, Lcom/baidu/mapapi/map/MarkerOptions;->icon(Lcom/baidu/mapapi/map/BitmapDescriptor;)Lcom/baidu/mapapi/map/MarkerOptions;

    move-result-object v0

    iget-object v2, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v2, v0}, Lcom/baidu/mapapi/map/BaiduMap;->addOverlay(Lcom/baidu/mapapi/map/OverlayOptions;)Lcom/baidu/mapapi/map/Overlay;

    move-result-object v0

    check-cast v0, Lcom/baidu/mapapi/map/Marker;

    iput-object v0, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->z:Lcom/baidu/mapapi/map/Marker;

    invoke-static {v1}, Lcom/baidu/mapapi/map/MapStatusUpdateFactory;->newLatLng(Lcom/baidu/mapapi/model/LatLng;)Lcom/baidu/mapapi/map/MapStatusUpdate;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/visit/SeniorVisitCMMapActivity;->j:Lcom/baidu/mapapi/map/BaiduMap;

    invoke-virtual {v1, v0}, Lcom/baidu/mapapi/map/BaiduMap;->animateMapStatus(Lcom/baidu/mapapi/map/MapStatusUpdate;)V

    :cond_1
    return-void
.end method
